﻿using System;
using System.Collections.Generic;
using System.Text;
using wisdom_logistics.Enum;
using System.ComponentModel.DataAnnotations;

namespace wisdom_logistics.Dto
{
    public class CreateOwnerContractDto
    {
        //合同编号
        [Required]
        public string ContractNoid { get; set; }
        //合同标题
        [Required]
        public string ContractTitle { get; set; }
        //货主单位
        [Required]
        public string Ownerunit { get; set; }
        //货主负责人
        [Required]
        public string Ownerprincipal { get; set; }
        //线路
        [Required]
        public int Circuites { get; set; }
        //吨位价
        [Required]
        public decimal Tonnageprice { get; set; }
        //包车条件吨位
        [Required]
        public int Charteredbustonnage { get; set; }
        //包车金额
        [Required]
        public decimal Charteredbusprice { get; set; }
        //签订时间
        [Required]
        public DateTime ContractDate { get; set; }
        //经办人
        [Required]
        public string Responsibleperson { get; set; }
        //创建时间
        [Required]
        public DateTime CreateTime { get; set; }
        //状态
        [Required]
        public OwnerStatus Statess { get; set; }
        //审批人
        [Required]
        public int Approver { get; set; }
        //合同金额
        [Required]
        public int ContractPrice { get; set; }
        //合同项目说明
        [Required]
        public string Projectdescription { get; set; }
        //合同条款
        [Required]
        public string Contractclause { get; set; }
        //合同文本
        [Required]
        public string ContractText { get; set; }
        //货主外键
        [Required]
        public int OwnerId { get; set; }
        //路线外键
        [Required]
        public int CircuitId { get; set; }
        //备用
        [Required]
        public int Spare { get; set; }
    }
}
